/**
 * 
 */
package com.exception;

/**
 * 
 *
 *@类名称：ServiceTransactionalException.java
 *@类描述：
 *@创建人：zhongy
 *@创建时间：2015年8月20日-上午9:29:13
 *@修改备注:
 *@version
 */
public class ServiceTransactionalException extends RuntimeException {

	/**
	 * 
	 */
	
	private static final long serialVersionUID = 1L;
	static final public String CODE_SUCCESS="000";
	static final public String CODE_ERROR="0001";
	public String code;
	public ServiceTransactionalException(){
		super();
	}
	
	public ServiceTransactionalException(String msg){
		super(msg);
		this.code = CODE_ERROR;
	}
	
	public ServiceTransactionalException(String msg, Throwable cause){
		super(msg, cause);
	}

}
